perm filename TMPCOR.BH[UP,DOC] blob
sn#143592 filedate 1975-02-03 generic text, type T, neo UTF8
The program TMPCOR (run with R TMPCOR command) is available to
manipulate a job's TMPCOR files. It is meant mainly as an aid to
people who are debugging utility programs which use TMPCOR files.
(For information on the TMPCOR facility see the description of
the TMPCOR UUO in the UUO Manual.)
The program takes commands to carry out any of the functions
available via TMPCOR or TMPCRD UUOs. The command names have
unique single-letter abbreviations. They are
LIST List TMPCOR files
READ Read a TMPCOR file
WRITE Write a TMPCOR file
DELETE Delete a TMPCOR file
CLEAR Delete all TMPCOR files
FREE type number of Free words for job
Most commands take a TMPCOR file as argument, and some also take
an optional file system file argument. The format of a TMPCOR
file argument is
<name or *>{[PRJ,PRG]}{#<job number>}
(braces indicate optional fields, and brokets indicate meta-variables;
the square brackets are really to be typed). The PPN field specifies
the alias of the TMPCOR file, and the job number can be used to read
another job's TMPCOR. The default alias PPN is your current alias if
no job number is specified, or the logged-in PPN of the specified job.
The FREE command takes only a job number. The CLEAR command takes only
a PPN. The others take the name and PPN, and the job number for READ
or LIST. The name may be omitted for LIST, implying *.
The LIST, READ, DELETE, and CLEAR commands may take wildcard TMPCOR name,
PRJ, or PRG (just PRJ or PRG for CLEAR). WRITE may not take wildcard
TMPCOR file parameters.
The READ and WRITE commands may be given with only the TMPCOR file
argument; this reads or writes to or from the TTY. In this case,
READ reads only up to a null character. To read or write full words
to or from disk, put a file argument after the TMPCOR argument:
= {<dev>:}<fn>{.<ext>}{[PRJ,PRG]}
Remember, READ reads from TMPCOR to disk (or other device) and
WRITE vice versa. If the file argument is used (i.e. the equal
sign) the default device is DSK.
Starting the program with the monitor command
R TMPCOR;<tmpcor command>
will do that command and exit. Just R TMPCOR will prompt with *
and loop taking commands forever.